reverse a list without using library function in